package spt.jukg.singleton.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import spt.jukg.singleton.dao.MainDao;

@Service
public class MainService {
 @Autowired
 private MainDao mainDao;
 
 public List getInfo(String pageNum) {
	int num= Integer.valueOf(pageNum);
	 return mainDao.getInfo(num*5);
 }
}
